package com.order.feign;

import org.springframework.stereotype.Component;

@Component
public class StockFeignServiceFallback implements StockService
{
    @Override
    public String deduct() {
        return "降级";//可以抛出异常 或者进行日志处理
    }

    @Override
    public String deduct1() {
        return "降级!";
    }
}
